package com.jshop.seckill.web.service;



import com.jshop.seckill.domain.TbUser;
import com.jshop.seckill.http.HttpResult;

import java.util.List;

public interface UserService {

    /**
     * 查询用户信息
     */
    public List<TbUser> getAllUser();

    /**
     * @Description: 登录
     */
    public HttpResult login(TbUser frontUser);

    /**
     * @Description: 根据token查询用户信息
     */
    TbUser getUserInfoFromCache(String token);
}
